package com.four.collage.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gs
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("coll_attribute")
public class Attribute extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 拼团商品属性编号
     */
    @TableId(value = "att_id", type = IdType.AUTO)
    private Integer attId;

    /**
     * 属性
     */
    private String attAttribute;

    /**
     * 图片
     */
    private String attPicture;

    /**
     * 原价
     */
    private BigDecimal attOriginalPrice;

    /**
     * 库存
     */
    private Integer attStock;

    /**
     * 拼团价
     */
    private BigDecimal attGroupPrice;

    /**
     * 限量
     */
    private Integer attLimit;

    /**
     * 重量
     */
    private Double attWeight;

    /**
     * 体积
     */
    private Double attVolume;

    /**
     * 拼图商品编号
     */
    private Integer grId;


}
